package com.itheima.info.system.manager.dao;

import com.itheima.info.system.manager.domain.Teacher;

import java.util.ArrayList;

public interface IBaseTeacherDao {
    //增
    void add(Teacher teacher);

    //删
    void delete(String sid);

    //改
    void updata(String sid, Teacher teacher);

    //查
    ArrayList<Teacher> findAll();

    //根据工号查索引
    int getIndexBySid(String sid);
}
